import React, { PureComponent } from 'react';
import { Form } from '@ant-design/compatible';
import '@ant-design/compatible/assets/index.css';
import { ModalC } from '../../../comps';
import { connect } from 'dva';
@Form.create()
@connect(({ shareOptionManageM }) => ({ shareOptionManageM }))
export default class ShareOptionModalC extends PureComponent {
  constructor(props) {
    super(props);
    this.state = {};
  }
  componentDidMount() {}

  UNSAFE_componentWillReceiveProps(nextProps) {}

  // 修改visible
  changeVisible = (msg) => {
    this.props.changeVisible(msg);
  };
  // 确认
  onOK = () => {
    this.changeVisible(false);
  };
  // 取消
  onCancel = () => {
    this.changeVisible(false);
  };
  render() {
    return (
      <ModalC title={this.props.modalTitle} visible={this.props.visible} maskClosable={false} onOk={this.onOK} onCancel={this.onCancel} width={1120}>
        簿记上传
      </ModalC>
    );
  }
}
